vipspa.start({
        view: '#app',
            router: {
                'cardlist': {
                    templateUrl: 'app/cardlist.html',
                    controller: 'src/js/pages/cardlist.js'
                },
                'plan': {
                    templateUrl: 'app/plan.html',
                    controller: 'src/js/pages/plan.js'
                },
                 'setplan': {
                    templateUrl: 'app/setplan.html',
                    controller: 'src/js/pages/setplan.js'
                },
                'plandetails': {
                    templateUrl: 'app/plandetails.html',
                    controller: 'src/js/pages/plandetails.js'
                },
                 'details': {
                    templateUrl: 'app/details.html',
                    controller: 'src/js/pages/details.js'
                },
                 'pay': {
                    templateUrl: 'app/pay.html',
                    controller: 'src/js/pages/pay.js'
                },
                'calendar': {
                    templateUrl: 'app/calendar.html',
                    controller: 'src/js/pages/calend.js'
                },
                'paysuccess':{
                	templateUrl: 'app/pay-success.html',
                    controller: 'src/js/pages/paysuccess.js'
                },
                'cardInfo':{
                	templateUrl: 'app/cardInfo.html',
                    controller: 'src/js/pages/cardInfo.js'
                },
                'fillInCard':{
                	templateUrl: 'app/fillInCard.html',
                    controller: 'src/js/pages/fillInCard.js'
                },
                'paywd':{
                	templateUrl: 'app/paywd_test.html',
                    controller: 'src/js/pages/paywd_test.js'
                },
                'defaults': 'paywd' //默认路由
            },
            errorTemplateId: '#error'  //可选的错误模板
});
